package com.weitu.workflow.demo.mapper;

import com.weitu.workflow.demo.entity.LeaveApplication;

import java.util.List;
import java.util.Map;

public interface LeaveApplicationMapper {

    /***
     * 查询请假单列表数量
     * @return
     */
    public int queryLeaveApplicationCount(Map<String, Object> paramMap);

    /***
     * 查询请假单集合
     * @return
     */
    public List<LeaveApplication> queryLeaveApplicationList(Map<String, Object> paramMap);
    /***
     * 添加请假单
     * @param paramMap
     * @return
     */
    public int addLeaveApplication(Map<String, Object> paramMap);
    /***
     * 根据请假单id 查询请假单信息
     * @param id
     * @return
     */
    public LeaveApplication queryLeaveApplicationInfoById(String id);

}

